<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="x-rim-auto-match" content="none">
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <title>注册</title>
    <script type="text/javascript" src="/js/assets/jquery-3.1.0.min.js"></script>



    <style>
        *{
            margin:0;
            padding:0;
            box-sizing: border-box;
        }
        input{
            background: transparent;
            -webkit-tap-highlight-color:rgba(255,255,255,0);
            -webkit-appearance:none;
        }
        @media only screen and (min-width:320px) and (orientation:portrait){
            input{font-size:14px;!important;}


        }
        @media only screen and (min-width:360px) and (orientation:portrait){
            input{font-size:15px;!important;}

        }
        @media only screen and (min-width:414px) and (orientation:portrait){
            input{font-size:16px;!important;}
        }

        @media only screen and (min-width:600px) and (orientation:portrait){
            input{font-size:20px;!important;}
        }

        @media only screen and (min-width:768px) and (orientation:portrait){
            input{font-size:24px;!important;}
        }
        #recharge{
            display: block;
            position: absolute;
        }
        .downLoad{
            display: block;
            position: absolute;
        }
    </style>

</head>
<body style="margin: 0;background-color: #ffe8c7">
<div id='bgPic' style="background: url('../img/success.png') no-repeat center;background-size: 100% 100%;width: 100%;position: relative">

    <a id="recharge" style="cursor:pointer;"></a>

</div>
</body>
<script>


    var w = document.documentElement.clientWidth;

    var bodyW=w+'px';
    $('body').width(bodyW);

    var bgPic=document.querySelector('#bgPic');
    var he=1204*w/750+'px';
    bgPic.style.height=he;


    $('#recharge').css('width',632/750*w+'px');
    $('#recharge').css('height',100/750*w+'px');
    $('#recharge').css('lineHeight',100/750*w+'px');
    $('#recharge').css('margin-top',520/750*w+'px');
    $('#recharge').css('margin-left',56/750*w+'px');




    $('#recharge').bind('click',function(){
//        判断手机是苹果还是安卓
        var browser = {
            versions: function () {
                var u = navigator.userAgent, app = navigator.appVersion;
                return {//移动终端浏览器版本信息
                    trident: u.indexOf('Trident') > -1, //IE内核
                    presto: u.indexOf('Presto') > -1, //opera内核
                    webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
                    gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1, //火狐内核
                    mobile: !!u.match(/AppleWebKit.*Mobile/i) || !!u.match(/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/), //是否为移动终端
                    ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
                    android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或者uc浏览器
                    iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1, //是否为iPhone或者QQHD浏览器
                    iPad: u.indexOf('iPad') > -1, //是否iPad
                    webApp: u.indexOf('Safari') == -1 //是否web应该程序，没有头部与底部
                };
            } (),
            language: (navigator.browserLanguage || navigator.language).toLowerCase()
        }
        if (browser.versions.iPhone || browser.versions.iPad || browser.versions.ios) {
            var a = document.createElement('a');
            a.setAttribute('href', 'https://itunes.apple.com/cn/app/hui-cheng-jin-fu-zhuan-zhu/id1160680698?mt=8');
            // 防止反复添加
            a.click();
//        window.location.href = "https://itunes.apple.com/cn/app/hui-cheng-jin-fu-zhuan-zhu/id1160680698?mt=8";
        }
        if (browser.versions.android) {
            var a = document.createElement('a');
            a.setAttribute('href', 'http://www.yijinf.com/app-release.apk');
            // 防止反复添加
            a.click();
//        window.location.href = "http://www.hcjinfu.com/app-release.apk";
        }
//        window.open("http://a.app.qq.com/o/simple.jsp?pkgname=com.hcrnapp");
    });

</script>



<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?04655570a7f6ba29233f7e34e328d5bb";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>


</html>